/* 设置背景图片 */
body {
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('../img/weimei.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

/* 透明叠加层 */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* 半透明黑色背景 */
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5); /* 内阴影效果 */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 欢迎文本容器样式 */
.welcome-container {
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* 添加阴影效果 */
}

.welcome-text h1 {
    font-size: 3em;
    margin: 0.5em 0;
}

.welcome-link {
    display: inline-block;
    padding: 0.5em 1em;
    margin-top: 1em;
    font-size: 1.2em;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* 添加按钮阴影效果 */
    transition: background-color 0.3s, box-shadow 0.3s;
}

.welcome-link:hover {
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}
